package com.ctshk.rpc.train.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
public class TrainProductCheckReq implements Serializable {

    @NotNull(message = "审批ID不能为空")
    @ApiModelProperty(value = "审批id",required = true)
    private Long id;

    @ApiModelProperty(value = "审批状态 0 撤回 3 审批通过 4 审批不通过(必填)")
    private int status;

    @NotNull(message = "产品ID不能为空")
    @ApiModelProperty(value = "产品ID",required = true)
    private Long productId;

    @ApiModelProperty(value = "原因")
    private String reason;
}